[gd_scene load_steps=8 format=3 uid="uid://cfcq34lddv6x7"]

[ext_resource type="Script" path="res://scenes/main_menu/main_menu.gd" id="1_ixylo"]
[ext_resource type="Texture2D" uid="uid://cgfevouuaj838" path="res://assets/sprites/background/background.png" id="2_4lmfd"]
[ext_resource type="PackedScene" path="res://scenes/tilemap/tilemap.tscn" id="2_kmjht"]
[ext_resource type="Texture2D" uid="uid://cx4mka8hwq4ih" path="res://assets/sprites/hud/button_border_long.png" id="4_qb4hf"]
[ext_resource type="FontFile" uid="uid://dxsveaxmq5euc" path="res://assets/fonts/m5x7.ttf" id="5_3m132"]
[ext_resource type="Texture2D" uid="uid://boxy83mdd5bu" path="res://assets/sprites/slime/slime.png" id="6_r38o8"]

[sub_resource type="LabelSettings" id="LabelSettings_t1clg"]
font = ExtResource("5_3m132")
font_size = 32

[node name="MainMenu" type="Node2D"]
script = ExtResource("1_ixylo")

[node name="Sky" type="Sprite2D" parent="."]
texture_repeat = 2
position = Vector2(0, -16)
scale = Vector2(1.2, 1.2)
texture = ExtResource("2_4lmfd")
centered = false
metadata/_edit_lock_ = true

[node name="TileMap" parent="." instance=ExtResource("2_kmjht")]
layer_0/tile_data = PackedInt32Array(327680, 65536, 0, 327681, 65536, 0, 327682, 65536, 0, 327683, 65536, 0, 327684, 65536, 0, 327685, 65536, 0, 327686, 65536, 0, 327687, 65536, 0, 327688, 65536, 0, 327689, 65536, 0, 327690, 65536, 0, 327691, 65536, 0)

[node name="Buttons" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 384.0
offset_bottom = 192.0

[node name="VBoxContainer" type="VBoxContainer" parent="Buttons"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = -32.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 12
alignment = 1

[node name="PlayButton" type="TextureButton" parent="Buttons/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
texture_normal = ExtResource("4_qb4hf")

[node name="Label" type="Label" parent="Buttons/VBoxContainer/PlayButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Play"
label_settings = SubResource("LabelSettings_t1clg")
horizontal_alignment = 1

[node name="CreditsButton" type="TextureButton" parent="Buttons/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
texture_normal = ExtResource("4_qb4hf")

[node name="Label" type="Label" parent="Buttons/VBoxContainer/CreditsButton"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Credits
"
label_settings = SubResource("LabelSettings_t1clg")
horizontal_alignment = 1

[node name="Slime" type="Sprite2D" parent="."]
position = Vector2(43, 154)
scale = Vector2(1.25, 1.25)
texture = ExtResource("6_r38o8")
hframes = 2
vframes = 6

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(192, 96)

[connection signal="pressed" from="Buttons/VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
